package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.service.StopCallModeService;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * 定时作业，用于处理定时终止采集
 * @author LXF
 *
 */
public class StopCallModeJob extends QuartzJobBean {
	
	private StopCallModeService jobData;
	
	public StopCallModeService getJobData() {
		return jobData;
	}

	public void setJobData(StopCallModeService jobData) {
		this.jobData = jobData;
	}
	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		this.jobData.tmnlStopCall(null);
	}

}
